<% unless active_replication_systems.nil? or active_replication_systems.blank? %>
	<% active_replication_systems.each do |system| %>
		<div class="span-8 replication_info">
			<%= link_to "#{system.name}", :controller => 'replica_systems', :action => 'show', :id => system %>
		</div>
		<div class="span-3 replication_info">
			<%= link_to_remote '<div class="stop">Stop Replication</div>', 
				:url => { :action => 'stop_replication', :program_id => program.id, :replica_system_id => system.id }, 
				:update => 'replication' %>
		</div>
	<% end %>
<% end %>

<% unless inactive_replication_systems.nil? or inactive_replication_systems.blank? %>
	<% inactive_replication_systems.each do |system| %>
		<div class="span-8 replication_info">
			<%= link_to "#{system.name}", :controller => 'replica_systems', :action => 'show', :id => system %>
		</div>
		<div class="span-3 replication_info">
			<%= link_to_remote "<div class='begin'>Begin Replication</div>",
				:url => { :action => 'begin_replication', :program_id => program.id, :replica_system_id => system.id }, 
				:update => 'replication' %>
		</div>
	<% end %>
<% end %>